/*******************************************************************************
 * Copyright (c) 2008 Sylvain Sicard.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Lesser Public License v2.1
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
 * 
 * Contributors:
 *     Noel De Palma - initial API and implementation
 ******************************************************************************/
package fr.jade.service;

import fr.jade.util.JadeException;

/**
 * the basic interface provided by all managers.
 * @author Noel De Palma
 * @contact noel.depalma@inrialpes.fr
 */
public interface Service {
 
    /** 
     * create, configure, deploy and start ALL the resources managed by 
     * this manager.
     * @throws JadeException
     */
    void start() throws JadeException;
    
    /** 
     * stop ALL the resources managed by 
     * this manager.
     * @throws JadeException
     */
     void stop()throws JadeException;
}
